package com.example.lenovo.downloaddemo.bean;

import java.util.List;

public class HomeBean {

    /**
     * msg : 查询成功
     * code : 200
     * data : [{"c_id":17,"name":"社交精选","name_en":"shejiao","img":"/uploads/20190312/4e4cf709687d00f346d39439eee17ec2.png","img_url":"https://www.taobao.com/","goodsList":[{"good_id":11,"good_name":"QQ","good_name_en":"QQ","good_pic":"/uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png"},{"good_id":12,"good_name":"微聊","good_name_en":"WebChat","good_pic":"/uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png"}]}]
     */

    private String msg;
    private int code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * c_id : 17
         * name : 社交精选
         * name_en : shejiao
         * img : /uploads/20190312/4e4cf709687d00f346d39439eee17ec2.png
         * img_url : https://www.taobao.com/
         * goodsList : [{"good_id":11,"good_name":"QQ","good_name_en":"QQ","good_pic":"/uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png"},{"good_id":12,"good_name":"微聊","good_name_en":"WebChat","good_pic":"/uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png"}]
         */

        private int c_id;
        private String name;
        private String name_en;
        private String img;
        private String img_url;
        private List<GoodsListBean> goodsList;

        public int getC_id() {
            return c_id;
        }

        public void setC_id(int c_id) {
            this.c_id = c_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName_en() {
            return name_en;
        }

        public void setName_en(String name_en) {
            this.name_en = name_en;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }

        public List<GoodsListBean> getGoodsList() {
            return goodsList;
        }

        public void setGoodsList(List<GoodsListBean> goodsList) {
            this.goodsList = goodsList;
        }

        public static class GoodsListBean {
            /**
             * good_id : 11
             * good_name : QQ
             * good_name_en : QQ
             * good_pic : /uploads/20190312/d8037c3a471fb78048b5287a51c3711b.png
             */

            private int good_id;
            private String good_name;
            private String good_name_en;
            private String good_pic;

            public int getGood_id() {
                return good_id;
            }

            public void setGood_id(int good_id) {
                this.good_id = good_id;
            }

            public String getGood_name() {
                return good_name;
            }

            public void setGood_name(String good_name) {
                this.good_name = good_name;
            }

            public String getGood_name_en() {
                return good_name_en;
            }

            public void setGood_name_en(String good_name_en) {
                this.good_name_en = good_name_en;
            }

            public String getGood_pic() {
                return good_pic;
            }

            public void setGood_pic(String good_pic) {
                this.good_pic = good_pic;
            }
        }
    }
}
